#include "List.h"

void TestList1()
{
	LTNode *head = ListInit();
	ListPushBack(head, 1);
	ListPushBack(head, 2);
	ListPushBack(head, 3);
	ListPushBack(head, 4);
	ListPushBack(head, 5);
	ListPrint(head);
}

void TestList2()
{
	LTNode* phead = ListInit();

	ListPushFront(phead, 5);
	ListPushFront(phead, 4);
	ListPushFront(phead, 3);
	ListPushFront(phead, 2);
	ListPushFront(phead, 1);
	ListPopFront(phead);
	ListPopFront(phead);
	ListPopFront(phead);
	


	ListPrint(phead);
	ListDestroy(phead);

}

int main()
{
	TestList2();
	return 0;
}
